//
//  PPJsonHelper.h
//  PiPi
//
//  Created by 邓标祥 on 2020/12/19.
//  Copyright © 2020 PiPiWholseSale. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface PPJsonHelper : NSObject
/**
 字典转指定的模型
 */
+ (id)modelWithData:(NSDictionary *)data toClass:(Class)classModel;

/**
 字典数组转模型数组
 */
+ (NSArray *)modelArrayWithData:(NSArray *)data toClass:(Class)classModel;



+ (NSDictionary *)dictionaryWithModel:(id)classModel;
@end

NS_ASSUME_NONNULL_END
